From f25f3b3c47db97686f7ad396f16ad7d4976f089f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Thu, 2 Aug 2018 11:03:41 +0200 Subject: [PATCH] docs: Explain desktop file id == application_id in migration guide --- docs/reference/gtk/migrating-3to4.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index cd113bb79b..6532974d3c 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -177,6 +177,22 @@ +
+ Set a proper app_id + + In GTK+4 we want the application's #GApplication + 'application-id' (and therefore the D-Bus name), the desktop + file basename and Wayland's xdg-shell app_id to match. In + order to achieve this with GTK+3 call g_set_prgname() with the same + application id you passed to #GtkApplication. Rename your + desktop files to match the application id if needed. + + + The call to g_set_prgname() can be removed once you fully migrated + to GTK+4. + +
+
-- 2.30.2